

export const city = (state='多金的迪拜',action )=>{
  const {type,payload} = action ;
  
  switch(type){
    case "changeCity":
    return payload;
    break;

    default:
    return state;
    break;
  }
}